#include <stdio.h>

class IOFile{
    private:	
	FILE * fp=NULL;
	int     buffsize;
	char * buffer;
    public:
   	IOFile(const char * filename,const char * mode);
	bool isOpen(){
		if(fp!=NULL) return true;
		else return false;
	}

	bool setBufferSize(int size);
	bool setlinemode();
	bool closeFile();

};
